package com.hmall.vo;

import com.hmall.model.MallTransport;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * louxinlong
 * 查询订单
 */
@Data
public class OrderSelectVo {

    private Integer oderId;

    private Long oderNo;

    private Integer status;

    private BigDecimal payment;

    private Integer paymentType;

    private Date createTime;

    private Integer  postage;

    private Date paymentTime;

    private Integer examCheck;

    private Integer isSample;

    private Integer shopId;

    private Integer userId;

    private String shopName;

    //审核意见
    private String opinion;

    //发货日期
    private String sendDate;

    //审核信息列表
    private List<OrderRemarkVo> orderRemarkVoList;


    private Integer commentCheck;

    //是否评论
    private Integer  enabled;

    //凭证
    private String paymentVoucherImg;

    //-1代表账期用户 0表示现金用户没上传凭证 1表示现金用户上传了凭证
    Integer paymentVoucherStatus;

    //收货地址
    private Integer shippingId;

    private String receiverAddress;

    //配送方式
    private String distName;

    private Integer distCode;

    //自提信息主键
    //2018/10/23
    private Integer transportId;

    //司机信息
    MallTransport mallTransport;
    //合同号
    private String salesContNo;

    //订单创建时间
    private Date contCreateTime;

    //倒计时
    private Long endTime;

    //付款的时间
    private Long paymentEndTime;

    private String receiverName;

    private String receiverPhone;

    private String receiverMobile;

    private String receiverProvince;

    private String receiverCity;

    private String receiverDistrict;

    private List<OrderSendVo> orderSendVoList;

    public OrderSelectVo(Integer oderId, Long oderNo, Integer status, BigDecimal payment, Integer paymentType, Date createTime, Integer postage, Date paymentTime, Integer isSample, Integer shopId, Integer userId, String shopName, Integer enabled, Integer shippingId, String receiverAddress, String distName, Integer distCode, String salesContNo, Date contCreateTime, Long endTime, String receiverName, String receiverPhone, String receiverMobile, String receiverProvince, String receiverCity, String receiverDistrict, String message, String invoiceRecPerson, String invoiceRecAddress, String invoiceRecPhone, List<OrderSelectItemVo> orderSelectItemVos) {
        this.oderId = oderId;
        this.oderNo = oderNo;
        this.status = status;
        this.payment = payment;
        this.paymentType = paymentType;
        this.createTime = createTime;
        this.postage = postage;
        this.paymentTime = paymentTime;
        this.isSample = isSample;
        this.shopId = shopId;
        this.userId = userId;
        this.shopName = shopName;
        this.enabled = enabled;
        this.shippingId = shippingId;
        this.receiverAddress = receiverAddress;
        this.distName = distName;
        this.distCode = distCode;
        this.salesContNo = salesContNo;
        this.contCreateTime = contCreateTime;
        this.endTime = endTime;
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.receiverMobile = receiverMobile;
        this.receiverProvince = receiverProvince;
        this.receiverCity = receiverCity;
        this.receiverDistrict = receiverDistrict;
        this.message = message;
        this.invoiceRecPerson = invoiceRecPerson;
        this.invoiceRecAddress = invoiceRecAddress;
        this.invoiceRecPhone = invoiceRecPhone;
        this.orderSelectItemVos = orderSelectItemVos;
    }

    public OrderSelectVo() {
    }

    /**
     * 留言
     */
    private String message;
    /**
     * 发票收件人
     */
    private String invoiceRecPerson;
    /**
     * 发票所到地址
     */
    private String invoiceRecAddress;
    /**
     * 发票收件人手机
     */
    private String invoiceRecPhone;
    //发票信息
    private String  taxNum;
    private String  invoiceTitle;
    private String  invoiceTitleAddr;
    private String  busAddress;
    private String  busTel;
    private String  bankName;
    private String  bankAccount;
    private List<OrderSelectItemVo> orderSelectItemVos;




}
